package com.wtb.javatool.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wtb.javatool.constant.evaluation.CourseType;
import com.wtb.javatool.constant.evaluation.ProjectDrivenTeachingType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("course")
public class Course {

    @TableId(value="id")
    private Long id;

    @TableField(value = "band_id")
    private Long bandId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "description")
    private String description;

    @TableField(value = "image")
    private String image;

    @TableField(value = "create_time")
    private String createTime;

    @TableField(value = "creator_id")
    private Long creatorId;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "subject_id")
    private Long subjectId;

    @TableField(value = "type")
    private CourseType type;

    @TableField(value = "experiment_time")
    private String experimentTime;

    @TableField(value = "practice_time")
    private String practiceTime;

    @TableField(value = "theory_time")
    private String theoryTime;

    @TableField(value = "project_driven_teaching")
    private String projectDrivenTeaching;
}
